﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Directory.Web.Admin_ContributionRank" Theme="Admin_Default" Codebehind="ContributionRank.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
		<div class="pageheader">
			<span style="color:red;">用户贡献排行</span>
		</div>
		<div class="pagecontent">
			<asp:Repeater ID="rptUsers" runat="server">
                <HeaderTemplate><table>
                    <tr>
                        <th>用户名</th>
                        <th>贡献值</th>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class='<%# Container.ItemIndex%2==0? "tr_bg":"" %>'>
                        <td><%# Eval("UserName")%></td>
                        <td><%# Eval("Contribution") %></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate></table></FooterTemplate>
            </asp:Repeater>
            <Admin:PageBreak runat="server" ID="PageBreak" />
        </div>
    </form>
</body>
</html>
